import request from '@/utils/request'

// 查询博客列表
export function getNewBlog(params) {
    return request({
        url: '/blog/getNewBlog',
        method: 'get',
        params: params
    })
}


// 查询博客详细
export function getBlogDetail(blogId) {
    return request({
      url: '/blog/getBlogDetail/' + blogId,
      method: 'get'
    })
}

// 获取日期（月份）归档
export function getMonthArchiveList() {
    return request({
      url: '/blog/getMonthArchiveList',
      method: 'get'
    })
}